package com.charles.video.gateway.service;

import com.charles.video.common.core.exception.CaptchaException;
import com.charles.video.common.core.responseDomain.AjaxResult;

import java.io.IOException;

/**
 * @author Charles-H
 * 
 * 验证码的处理
 */
public interface ValidateCodeService {
    
    /* 生成验证码 */
    public AjaxResult createCaptcha() throws IOException, CaptchaException;
    
    /* 校验验证码 */
    public void checkCaptcha(String code, String uuid);

}
